<template>
  <div class="home-tab">
    <div @click="$router.push('/forwardPost')" class="tab-item">
      <img src="@/assets/images/home-tab-icon-1.png" class="tab-icon" >
      <div class="tab-name">预警预防<br/>前沿哨</div>
    </div>
    <div @click="$router.push('/hinge')" class="tab-item">
      <img src="@/assets/images/home-tab-icon-2.png" class="tab-icon" >
      <div class="tab-name">协同共治<br/>枢纽站</div>
    </div>
    <div @click="$router.push('/circle')" class="tab-item">
      <img src="@/assets/images/home-tab-icon-3.png" class="tab-icon" >
      <div class="tab-name">立体防控<br/>快反圈</div>
    </div>
    <div @click="$router.push('/bridge')" class="tab-item">
      <img src="@/assets/images/home-tab-icon-4.png" class="tab-icon" >
      <div class="tab-name">便民服务<br/>连心桥</div>
    </div>
  </div>
</template>
<script>
export default {
  name: "HomeTab"
}
</script>
<style scoped lang="scss">
.home-tab{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .tab-item{
    padding-left: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    width: calc(100%/4 - 10px);
    border-radius: 10px;
    background: rgba(10, 167, 255, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    .tab-icon{
      width: 70px;
      margin-right: 10px;
    }
    .tab-name{
      color: $fontColorMain;
      font-family: 冷酷体;
      font-weight: bold;
      font-size: 20px;
      text-align: center;
      line-height: 28px;
    }
  }
}
</style>
